
<?php } else { ?>

	<?php if($allowdelete || $_post['allowdelete']) { ?>
	<a data-href="<?php echo url("post-recover-$_post[pid]");?>" data-confirm-text="确定恢复删除的帖子？" href="javascript:void(0);" class="text-grey post_recover _confirm m-r-1"><i class="icon-undo"></i> 恢复</a>
	<?php } ?>


<?php } ?>